package com.kizuki.mybatis;


import org.mybatis.spring.support.SqlSessionDaoSupport;

public class UserDaoImp2 extends SqlSessionDaoSupport implements UserDao {

    @Override
    public User queryUserById(int id) {
        UserDao mapper = this.getSqlSession().getMapper(UserDao.class);
        return mapper.queryUserById(id);
    }

}
